import Vue from 'vue';
import ElementUI from 'element-ui';
import App from './App.vue';
import router from './router';


//import * as filters from './filters' // global filters

Vue.config.devtools = true;
Vue.use(ElementUI);

/*window.console.log(filters)
* v-has

Vue.directive('has', {
  bind: function(el, binding) {
    if (!Vue.prototype.$_has(binding.value)) {
      el.parentNode.removeChild(el);
    }
  }
});
*/

new Vue({
  router,
  render: h => h(App)
}).$mount("#app")